Skip to content

test(core): wire the mesh integration suites into CI and cover the ws queue - #26

Merged
Mearman merged 2 commits into
mainfrom
test/ci-wiring-and-ws-coverage
Sep 9, 2026
Merged

test(core): wire the mesh integration suites into CI and cover the ws queue#26
Mearman merged 2 commits into
mainfrom
test/ci-wiring-and-ws-coverage

Conversation

@Mearman

@Mearman Mearman commented Sep 9, 2026

Copy link
Copy Markdown
Member

Resolves items 3, 4, and 5 of the deferred follow-ups from the #23/#24 sessions.

pnpm test ran only three suites (coordinator socket-error, identity-store, identity-cert); every mesh integration suite ran ad hoc, so the cross-visibility and broadcast-queue regressions they pin — including the exact #23 repro — were invisible to CI. All of them now run in one serial node --test --test-concurrency=1 invocation, so concurrent meshes cannot contend for CPU on shared runners:

Full wired suite: 13 tests, five consecutive clean local rounds plus lint/typecheck/build green.

The runner required a scenario name and exited with a usage message
otherwise, so the suite could not be run as a whole. Bare invocation now
runs all scenarios in order; passing a name still selects a single
scenario.
… queue

pnpm test ran only the coordinator socket-error suite and the two
identity unit suites; the mesh integration suites (mesh e2e,
broadcast-window, identity-restart) ran only ad hoc, so the
cross-visibility and broadcast-queue regressions they pin were invisible
to CI. Run them all in one serial node --test invocation
(--test-concurrency=1) so concurrent meshes cannot contend for CPU on
shared runners, and include tls-transport now that it runs its full
scenario set without an argument.

The transport broadcast queue from the dial-window fix is implemented
per transport but only the TLS path had coverage; mesh e2e exercises the
TCP path and a new ws broadcast-window test covers the WebSocket path
(two WS peers, immediate post-init registration, room-message push),
which had no coverage at all.
@Mearman
Mearman marked this pull request as ready for review September 9, 2026 06:14
@Mearman
Mearman merged commit 76591a0 into main Sep 9, 2026
5 checks passed
@Mearman
Mearman deleted the test/ci-wiring-and-ws-coverage branch September 9, 2026 06:14
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 9, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review Completed 2026-09-09T06:18:43.847392Z d9c5086 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant